package com.zh.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zh.generator.core.BaseDO;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author zh
 * @since 2024-03-22
 */
@Getter
@Setter
@TableName("user")
@ApiModel(value = "UserDO对象", description = "用户表")
public class UserDO extends BaseDO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("用户组")
    private Integer groupId;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("性别(0未知，1男，2女)")
    private Integer gender;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("用户余额")
    private Long balance;

    @ApiModelProperty("最后登录ip")
    private String lastLoginIp;


}
